import { defineStore } from "pinia";

export const uMsg = defineStore("VMsg", {
  state: () => {
    return {
      show: false,
      msg: "",
    };
  },
  actions: {
    Open(msg: string) {
      this.show = true;
      this.msg = msg;
    },
  },
});
